package com.bykj.property.model;

import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;

import java.sql.Date;
import java.sql.Timestamp;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
import com.bykj.property.model.ChargeType;
import com.bykj.property.model.PmVillage;
import com.bykj.property.model.PmUnit;
import com.bykj.property.model.PmProprietor;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
/**
* <p>
    * 待缴费记录表
    * </p>
*
* @author liangyiming
* @since 2019-06-20
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("pending_payment_record")
    @ApiModel(value="PendingPaymentRecord对象", description="待缴费记录表")
    public class PendingPaymentRecord implements Serializable {


private static final long serialVersionUID = 1L;
            @TableId(value = "pending_payment_id", type = IdType.AUTO)
    private Long pendingPaymentId;
            @ApiModelProperty(value = "收费类型id")
    private Long chargeTypeId;
        /**
        *收费类型id关联属性
        */
        @TableField(exist = false)
        private ChargeType chargeType;
            @ApiModelProperty(value = "小区id")
    private Long pmVillageId;
        /**
        *小区id关联属性
        */
        @TableField(exist = false)
        private PmVillage pmVillage;
            @ApiModelProperty(value = "单元id")
    private Long pmUnitId;
        /**
        *单元id关联属性
        */
        @TableField(exist = false)
        private PmUnit pmUnit;
            @ApiModelProperty(value = "业主id")
    private Long pmProprietorId;
        /**
        *业主id关联属性
        */
        @TableField(exist = false)
        private PmProprietor pmProprietor;
            @ApiModelProperty(value = "业主名")
    private String propName;
            @ApiModelProperty(value = "门牌号")
    private String doorNumber;
            @ApiModelProperty(value = "待缴费金额")
    private String pendingChargePrice;
    @ApiModelProperty(value = "待缴费开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date pendingStartTime;
    @ApiModelProperty(value = "待缴费结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date pendingEndTime;

    private Timestamp createTime;
    private Timestamp updateTime;

}
